home *** CD-ROM | disk | FTP | other *** search
/ Clickx 22 / Clickx 22.iso / DATA / Setup.exe / ForceASPI / KILLASPI.BAT < prev    next >
Encoding:
DOS Batch File  |  2000-09-03  |  2.1 KB  |  85 lines

  1. @Echo off
  2. SET ver=1.7
  3. IF %OS%==Windows_NT Goto WinNT
  4.  
  5. :Win9x
  6. CLS
  7. Echo KillASPI %ver%
  8. Echo.
  9. Echo Windows 9x or ME Detected.
  10. Echo Windows is in : %winbootdir%
  11. Echo Killing Files...
  12.  
  13. Echo   - WINASPI.DLL
  14. IF NOT EXIST %winbootdir%\system\winaspi.dll Echo     [ file does not exist ]
  15. IF EXIST %winbootdir%\system\winaspi.dll del %winbootdir%\system\winaspi.dll > nul
  16.  
  17. Echo   - WNASPI32.DLL
  18. IF NOT EXIST %winbootdir%\system\wnaspi32.dll Echo     [ file does not exist ]
  19. IF EXIST %winbootdir%\system\wnaspi32.dll del %winbootdir%\system\wnaspi32.dll > nul
  20.  
  21. Echo   - ASPIENUM.VXD
  22. IF NOT EXIST %winbootdir%\system\aspienum.vxd Echo     [ file does not exist ]
  23. IF EXIST %winbootdir%\system\aspienum.vxd del %winbootdir%\system\aspienum.vxd > nul
  24.  
  25. Echo   - APIX.VXD
  26. IF NOT EXIST %winbootdir%\system\iosubsys\apix.vxd Echo     [ file does not exist ]
  27. IF EXIST %winbootdir%\system\iosubsys\apix.vxd del %winbootdir%\system\iosubsys\apix.vxd > nul
  28.  
  29. Echo Done!
  30. Echo.
  31. Echo ASPI Layer is Killed.
  32. Echo Reboot your PC to make the changes active.
  33. Goto End
  34.  
  35. :WinNT
  36. CLS
  37. Echo KillASPI %ver%
  38. Echo.
  39. Echo Windows NT or 2000 Detected.
  40. Echo Windows is in : %windir%
  41. IF %PROCESSOR_ARCHITECTURE%==x86 Goto Intel
  42. Goto Alpha
  43.  
  44. :Intel
  45. Echo Killing Files...
  46. Echo   - WINASPI.DLL
  47. IF EXIST %windir%\system\winaspi.dll (
  48.   del %windir%\system\winaspi.dll > nul
  49. ) ELSE (
  50.   Echo     [ file does not exist ]
  51. )
  52. Echo   - WOWPOST.EXE
  53. IF EXIST %windir%\system\wowpost.exe (
  54.   del %windir%\system\wowpost.exe > nul
  55. ) ELSE (
  56.   Echo     [ file does not exist ]
  57. )
  58. Echo   - WNASPI32.DLL
  59. IF EXIST %windir%\system32\wnaspi32.dll (
  60.   del %windir%\system32\wnaspi32.dll > nul
  61. ) ELSE (
  62. Echo     [ file does not exist ]
  63. )
  64. Echo   - ASPI32.SYS
  65. IF EXIST %windir%\system32\drivers\aspi32.sys (
  66.   del %windir%\system32\drivers\aspi32.sys > nul
  67. ) ELSE (
  68.   Echo     [ file does not exist ]
  69. )
  70. Echo Done!
  71. Echo.
  72. Echo ASPI Layer is Killed.
  73. Echo Reboot your PC to make the changes active.
  74. Goto End
  75.  
  76. :Alpha
  77. Echo Alpha CPU Detected.
  78. Echo Sorry, only Intel x86 and compatible platforms are supported.
  79. Goto End
  80.  
  81. :End
  82. SET ver=
  83. pause
  84. exit
  85.